package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 传感器对象 snmp_sensorinfo
 *
 * @author ruoyi
 * @date 2025-02-25
 */
public class SnmpSensorinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Long id;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }


    @Excel(name = "传感器上数据")
    private String sensorInfo;
    public String getSensorInfo()
    {
        return sensorInfo;
    }
    public void setSensorInfo(String sensorInfo)
    {
        this.sensorInfo = sensorInfo;
    }
    /** 传感器ID（主键） */
    private String sensorId;

    /** 传感器名称 */
    @Excel(name = "传感器名称")
    private String sensorName;

    /** 传感器IP */
    @Excel(name = "传感器IP")
    private String sensorIp;

    /** 关联的设备ID（外键） */
    @Excel(name = "关联的设备ID", readConverterExp = "外=键")
    private String deviceId;
    @Excel(name = "传感器字段标识")
    private String sensorGetdata;
    /** 传感器状态 */
    @Excel(name = "传感器状态")
    private String status;

    /** 传感器说明 */
    @Excel(name = "传感器说明")
    private String description;

    public void setSensorId(String sensorId)
    {
        this.sensorId = sensorId;
    }

    public String getSensorId()
    {
        return sensorId;
    }
    public void setSensorName(String sensorName)
    {
        this.sensorName = sensorName;
    }

    public String getSensorName()
    {
        return sensorName;
    }
    public void setSensorIp(String sensorIp)
    {
        this.sensorIp = sensorIp;
    }

    public String getSensorIp()
    {
        return sensorIp;
    }
    public void setDeviceId(String deviceId)
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId()
    {
        return deviceId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    public void setSensorGetdata(String sensorGetdata)
    {
        this.sensorGetdata = sensorGetdata;
    }

    public String getSensorGetdata()
    {
        return sensorGetdata;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sensorId", getSensorId())
            .append("sensorGetdata", getSensorGetdata())
            .append("sensorInfo", getSensorInfo())
            .append("sensorName", getSensorName())
            .append("sensorIp", getSensorIp())
            .append("deviceId", getDeviceId())
            .append("status", getStatus())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
